package com.himiotech.core.project.data.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.himiotech.core.framework.helper.anno.MybatisMapper;
import com.himiotech.core.project.model.entity.job.JobLog;
import org.apache.ibatis.annotations.Update;

/**
 * 调度任务日志信息 数据层
 *
 * @author ruoyi
 * @author wuwenbin
 */
@MybatisMapper
public interface JobLogMapper extends BaseMapper<JobLog> {
    /**
     * 清空任务日志
     */
    @Update("truncate table sys_job_log")
    void cleanJobLog();
}
